package com.lc.type;

import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

public interface TypeHandler<T> {

    T getColumnValue(ResultSet rs, String columnName) throws SQLException;

    void setStatementValue(PreparedStatement ps, int paramIndex, T t) throws SQLException;
}
